import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import './style/common.less'
// 全局引入
// import Skeleton from '@/components/Skeleton'
// createApp(App).component(Skeleton.name, Skeleton)
// 导入组件注册 =====插件形式
// vue3 组件注册  use可以链式调用
import ComponentsPlugin from '@/components'
import DirectivePlugin from '@/directives'
// const app = createApp(App)
createApp(App).use(DirectivePlugin).use(ComponentsPlugin).use(store).use(router).mount('#app')
